<template>
	<view>
		<u-popup :show="show" mode="center" :round="10" :safeAreaInsetBottom="false" @touchmove.stop.prevent="moveHandle()">
			<view class="card">
				<view class="top">
					<text>数据说明</text>
					<u--image class="header-icon" :showLoading="true"
						:src="`${baseStaticFileUrl}/image/pages-qualification/warm-reminder.png`" width="194rpx"
						height="150rpx" />
				</view>
				<view class="card-box">
					<view class="tips-title">
						请详细阅读以下说明
					</view>
					<view class="list">
						<u-list>
							<u-list-item>
								<view class="list-view">
									<view class="list-title">
										<view class="list-cion"></view>
										<view class="list-title-text">营业额</view>
									</view>
									<view class="list-text">
										现金收入 + 线上收入 + 活动收入
									</view>
								</view>
							</u-list-item>
							<u-list-item>
								<view class="list-view">
									<view class="list-title">
										<view class="list-cion"></view>
										<view class="list-title-text">结算额</view>
									</view>
									<view class="list-text">
										(在线收入 + 活动收入) - <text @click="chargeTips">手续费</text>
									</view>
								</view>
							</u-list-item>
							<u-list-item>
								<view class="list-view">
									<view class="list-title">
										<view class="list-cion"></view>
										<view class="list-title-text">出币合计</view>
									</view>
									<view class="list-text">
										线上出币 + 现金出币
									</view>
								</view>
							</u-list-item>
							<u-list-item>
								<view class="list-view">
									<view class="list-title">
										<view class="list-cion"></view>
										<view class="list-title-text">线上出币</view>
									</view>
									<view class="list-text">
										线上购买出币 + 会员取币 + 微信核销 + 美团核销 + 抖音核销
									</view>
								</view>
							</u-list-item>
							<u-list-item >
								<view class="list-view">
									<view class="list-title">
										<view class="list-cion"></view>
										<view class="list-title-text">现金出币</view>
									</view>
									<view class="list-text">
										纸钞出币 + 1元硬币出币
									</view>
								</view>
							</u-list-item>
						</u-list>
					</view>
				</view>
				<view class="btn">
					<u-button type="primary" text="我已了解" shape="circle" @click="colseTips"></u-button>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				baseStaticFileUrl: this.$configPath.staticFileUrl,
				show: false,

			}
		},
		onLoad() {
			// this.show=true
		},
		methods: {
      moveHandle(){},
			showShow() {
				this.show = true
			},
			colseTips() {
				this.show = false
			},
			chargeTips(){
				this.$helpers.toast('商户支付手续费0.6%');
			}
		}
	}
</script>

<style lang="scss" scoped>
	.card {
		width: 600rpx;
		padding: 0 0 30rpx 0;

		.top {
			border-radius: 20rpx;
			background: linear-gradient(180.00deg, rgba(219, 232, 248, 1) 0%, rgba(251, 253, 255, 0) 100%);
			display: flex;
			align-items: center;
			justify-content: space-around;
			color: rgba(0, 0, 0, 0.9);
			font-size: $f-xl;
		}

		.card-box {
			padding: 0 30rpx;
			.tips-title{
				font-size: $f-sm;
				color:rgba(0, 0, 0, 0.8);
			}
			
			.list{
				padding: 20rpx;
				height: 630rpx;
				color: rgb(13, 13, 13);
				font-weight:500;
				.list-view{
					margin:15rpx 0;
					font-size: $f-base;
					.list-title{
						
						display: flex;
						align-items: center;
						margin-bottom: 10rpx;
						.list-cion{
							width: 5px;
							height: 5px;
							background: rgb(96,114,255);
							border-radius: 50%;
						}
						.list-title-text{
							margin-left: 10rpx;
							color: rgba(0, 0, 0, 0.8);
						}
					}
					.list-text{
						margin-left: 20rpx;
						// display: flex;
						// align-items: center;
						text{
							color:$u-primary;
							margin-left: 10rpx;
						}
					}
				}
				
			}
		}

		.btn {
			margin: 0 30rpx;
		}
	}
</style>
